@import "../sass/base.scss";

.login {
  line-height: 1;

  .logo {
    overflow: hidden;
    background-image: url("./../../assets/images/login/logo.png");
    background-size: cover;
    margin: 0 auto;
    margin-top: 8%;
    margin-bottom: 22px;
    transition: all 0.3s;

    &:hover {
      transform: rotate3d(0, 0, 2, 360deg);
    }
  }

  .login-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    width: 100%;
    background-color: #419fe5;
    z-index: 999;
  }

  .login-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 130px;
    background-color: #001124;
    width: 100%;
    z-index: 998;
    color: #fff;
    padding-left: 20%;
    padding-right: 20%;

    .login-footer-left {
      margin-top: 45px;
      float: left;
    }

    .login-footer-right {
      float: right;

      >div {
        float: left;
        margin-top: 20px;
        text-align: center;

        &:first-child {
          margin-right: 35px;
        }
      }

      img {
        width: 78px;
        height: 78px;
        margin-bottom: 5px;
      }
    }

    .login-footer-copyright {
      margin-top: 10px;
    }

    a {
      color: #fff;
    }
  }

  .login-body {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
    background: url("./../../assets/images/login/login_bg.png") no-repeat;
    background-size: cover;
    background-position: 0 0;

    .login-body-copyright {
      text-align: center;
      margin-top: 4.5%;
    }

    .login-body-card {
      width: 17.5%;
      min-height: 279px;
      min-width: 313px;
      max-width: 396px;
      position: absolute;
      top: 20%;
      left: 66.3%;
      // transform: translate(-50%, -50%);
      // box-shadow: 0 0 8px rgba(211, 210, 210, 0.582);


      // width: 340px;
      // height: 330px;
      background-color: #02172f;
      border-radius: 4px;
      border: solid 2px #02d6dc;




      &:active {
        box-shadow: 0 0 12px rgba(175, 174, 174, 0.582);
      }
    }
    ::ng-deep .ant-card-head{
      border-bottom: 1px solid #02d6dc;
    }
    ::ng-deep .ant-card-head-wrapper::before {
      content: "";
      display: block;
      position: absolute;
      left: 15px;
      width: 9px;
      height: 9px;
      border-radius: 20px;
      background-color: $PrimaryColor;
    }

    ::ng-deep .ant-card-head-title {
      font-size: 14px;
      margin-left: 15px;
      padding: 14px 0;
      color: #02d6dc;
    }

    .ant-form-item {
      margin-bottom: 13px;
    }

    .login-form {
      // position: absolute;
      // top: 50%;
      // left: 50%;
      // transform: translate(-50%, -50%);
      width: 270px;
      margin: 0 auto;
    }

    .login-body-code-img {
      width: 81px;
      height: 32px;
    }

    .login-body-title {
      overflow: hidden;
      padding: 2px;
      color: #02d6dc;
      text-align: center;
      // padding-top: 130px;
      width: 842px;
      font-size: 36px;
      margin: 110px auto;
      // color: #419fe5;
    }

    .login-body-subtitle {
      font-size: 18px;
      color: $PrimaryColor;
      text-align: center;
      margin-top: 15px;
    }

    .login-body-bg {
      height: 330px;
      width: 100%;
      // background: url(../../assets/images/login/login_bg.png) no-repeat;
      background-size: 100% 100%;
      background-position: 0 0;
      margin-top: 32px;
      position: relative;
      z-index: 999;
    }
  }

  .login-form {
    max-width: 300px;
    margin: 8px auto !important;
  }

  .login-form-forgot {
    float: right;
  }

  .login-form-button {
    width: 100%;
    &:hover{
      background-color: #069094;
      border-color: #069094;
    }
  }
}

.qrcode {
  width: 100%;
  text-align: center;
  margin-top: 20px;

  div {
    display: inline-block;
  }

  img {
    // margin-right: 30px;
    width: 116px;
    height: 116px;
  }
}

.tips {
  margin-top: 24px;
}

:host ::ng-deep .ant-card-body {
  padding: 16px;
}
